//
//  AppNetwork.h
//  liangyi
//
//  Created by 张水 on 16/12/12.
//  Copyright © 2016年 yswh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface AppNetwork : NSObject

+ (AppNetwork *)sharedAppNetwork;

+ (void)requestWithPath:(NSString *)url
             parameters:(id)parameters
                success:(void(^)(id responseObject))success
                failure:(void(^)(id error))failure;
@end

